Optimal. Leaf size=74 \[ -\frac {16 \cot (x)}{35 a^3 \sqrt {a \csc ^2(x)}}-\frac {8 \cot (x)}{35 a^2 \left (a \csc ^2(x)\right )^{3/2}}-\frac {6 \cot (x)}{35 a \left (a \csc ^2(x)\right )^{5/2}}-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4122, 192, 191} \[ -\frac {16 \cot (x)}{35 a^3 \sqrt {a \csc ^2(x)}}-\frac {8 \cot (x)}{35 a^2 \left (a \csc ^2(x)\right )^{3/2}}-\frac {6 \cot (x)}{35 a \left (a \csc ^2(x)\right )^{5/2}}-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 191
Rule 192
Rule 4122
Rubi steps
\begin {align*} \int \frac {1}{\left (a \csc ^2(x)\right )^{7/2}} \, dx &=-\left (a \operatorname {Subst}\left (\int \frac {1}{\left (a+a x^2\right )^{9/2}} \, dx,x,\cot (x)\right )\right )\\ &=-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}}-\frac {6}{7} \operatorname {Subst}\left (\int \frac {1}{\left (a+a x^2\right )^{7/2}} \, dx,x,\cot (x)\right )\\ &=-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}}-\frac {6 \cot (x)}{35 a \left (a \csc ^2(x)\right )^{5/2}}-\frac {24 \operatorname {Subst}\left (\int \frac {1}{\left (a+a x^2\right )^{5/2}} \, dx,x,\cot (x)\right )}{35 a}\\ &=-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}}-\frac {6 \cot (x)}{35 a \left (a \csc ^2(x)\right )^{5/2}}-\frac {8 \cot (x)}{35 a^2 \left (a \csc ^2(x)\right )^{3/2}}-\frac {16 \operatorname {Subst}\left (\int \frac {1}{\left (a+a x^2\right )^{3/2}} \, dx,x,\cot (x)\right )}{35 a^2}\\ &=-\frac {\cot (x)}{7 \left (a \csc ^2(x)\right )^{7/2}}-\frac {6 \cot (x)}{35 a \left (a \csc ^2(x)\right )^{5/2}}-\frac {8 \cot (x)}{35 a^2 \left (a \csc ^2(x)\right )^{3/2}}-\frac {16 \cot (x)}{35 a^3 \sqrt {a \csc ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 42, normalized size = 0.57 \[ \frac {\sin (x) (-1225 \cos (x)+245 \cos (3 x)-49 \cos (5 x)+5 \cos (7 x)) \sqrt {a \csc ^2(x)}}{2240 a^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 43, normalized size = 0.58 \[ \frac {{\left (5 \, \cos \relax (x)^{7} - 21 \, \cos \relax (x)^{5} + 35 \, \cos \relax (x)^{3} - 35 \, \cos \relax (x)\right )} \sqrt {-\frac {a}{\cos \relax (x)^{2} - 1}} \sin \relax (x)}{35 \, a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.72, size = 69, normalized size = 0.93 \[ -\frac {32 \, {\left (\frac {35 \, \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, x\right )\right ) \tan \left (\frac {1}{2} \, x\right )^{6} + 21 \, \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, x\right )\right ) \tan \left (\frac {1}{2} \, x\right )^{4} + 7 \, \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, x\right )\right ) \tan \left (\frac {1}{2} \, x\right )^{2} + \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, x\right )\right )}{{\left (\tan \left (\frac {1}{2} \, x\right )^{2} + 1\right )}^{7}} - \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, x\right )\right )\right )}}{35 \, a^{\frac {7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.45, size = 45, normalized size = 0.61 \[ \frac {\sin \relax (x ) \left (5 \left (\cos ^{3}\relax (x )\right )-20 \left (\cos ^{2}\relax (x )\right )+29 \cos \relax (x )-16\right ) \sqrt {4}}{70 \left (-1+\cos \relax (x )\right )^{4} \left (-\frac {a}{-1+\cos ^{2}\relax (x )}\right )^{\frac {7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a \csc \relax (x)^{2}\right )^{\frac {7}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (\frac {a}{{\sin \relax (x)}^2}\right )}^{7/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 136.16, size = 82, normalized size = 1.11 \[ - \frac {16 \cot ^{7}{\relax (x )}}{35 a^{\frac {7}{2}} \left (\csc ^{2}{\relax (x )}\right )^{\frac {7}{2}}} - \frac {8 \cot ^{5}{\relax (x )}}{5 a^{\frac {7}{2}} \left (\csc ^{2}{\relax (x )}\right )^{\frac {7}{2}}} - \frac {2 \cot ^{3}{\relax (x )}}{a^{\frac {7}{2}} \left (\csc ^{2}{\relax (x )}\right )^{\frac {7}{2}}} - \frac {\cot {\relax (x )}}{a^{\frac {7}{2}} \left (\csc ^{2}{\relax (x )}\right )^{\frac {7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________